<?php

//

/**
 * SweetPHP <br />
 * <p><b>ExampleModel</b></p>
 * @package SweetPHP
 * @package Apps/Model/Examples
 * @author sweetphp
 * <p>Exemplo de model, objeto<p><br />
 */

/** @Table("group_category") */
class group_category extends Model {

    /** @Column("{'name':'id', 'type':'int',''length':'11', 'primaryKey':'true', 'unique':'true'}") */
    public $id;

    /** @Column("{'name':'description', 'type':'varchar',''length':'255', 'nullable':'false'}") */
    public $description;

    public function __construct() {
        $this->id = -1;
        $this->description = "";
        parent::__construct();
    }

    public function construct($id = 0, $description = "") {
        $this->id = $id;
        $this->descriptione = $description;
    }

    public function getId() {
        return $this->id;
    }

    public function setId($var = 0) {
        return $this->id = $var;
    }

    public function getDescription() {
        return $this->description;
    }

    public function setDescription($var = "") {
        return $this->description = $var;
    }

}
